首页> 外文OA文献 >Code Completion From Abbreviated Input
【2h】

Code Completion From Abbreviated Input

机译:代码从缩写输入完成

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Abbreviation Completion is a novel technique to improve the efficiency of code-writing by supporting code completion of multiple keywords based on non-predefined abbreviated input - a different approach from conventional code completion that finds one keyword at a time based on an exact character match. Abbreviated input is expanded into keywords by a Hidden Markov Model learned from a corpus of existing code. The technique does not require the user to memorize abbreviations and provides incremental feedback of the most likely completions. This paper presents the algorithm for abbreviation completion, integrated with a new user interface for multiple-keyword completion. We tested the system by sampling 3000 code lines from open source projects and found that more than 98% of the code lines could be resolved from acronym-like abbreviations. A user study found 30% reduction in time usage and 41% reduction of keystrokes over conventional code completion.
机译:缩写完成是一种新颖的技术,可通过基于未预定义的缩写输入支持多个关键字的代码完成来提高代码编写的效率,这与传统的代码完成方法不同,传统的代码完成方法是基于精确的字符匹配一次查找一个关键字。通过从现有代码的语料库中学到的隐马尔可夫模型,将缩写的输入扩展为关键字。该技术不需要用户记住缩写,并提供最可能完成的增量反馈。本文提出了缩写完成算法,并与新的用于多关键字完成的用户界面集成在一起。我们通过对来自开放源代码项目的3000条代码行进行采样来测试该系统,发现98%以上的代码行都可以通过首字母缩写形式的缩写来解析。一项用户研究发现,与常规代码完成相比,时间使用减少了30%,击键减少了41%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号